<?php /* Smarty version 2.6.26, created on 2014-09-30 14:55:06
         compiled from D:/wamp/www/Smarty-Framework/Index/Tpl/Index/search.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'css', 'D:/wamp/www/Smarty-Framework/Index/Tpl/Index/search.html', 8, false),array('function', 'jquery', 'D:/wamp/www/Smarty-Framework/Index/Tpl/Index/search.html', 10, false),array('modifier', 'date_format', 'D:/wamp/www/Smarty-Framework/Index/Tpl/Index/search.html', 52, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
            <title>后盾问答</title>
            <meta name="keywords" content="后盾问答"/>
            <meta name="description" content="后盾问答"/>
            <?php echo smarty_function_css(array('file' => 'common.css'), $this);?>

            <?php echo smarty_function_css(array('file' => 'index.css'), $this);?>

            <?php echo smarty_function_jquery(array(), $this);?>

    </head>
    <style type="text/css">
        a,a:hover{
            text-decoration: none;
        }
    </style>
    <body>
        <!-- 搜索顶部 -->
        <div class="search_top">
            <div class="sealeft">
                <a href="<?php echo @__ROOT__; ?>
"><img src="<?php echo @__PUBLIC__; ?>
/images/t0150f9b7bd1b41d84e.png" alt="" /></a>
            </div>

        </div>
        <!-- 搜索顶部结束 -->
        <!-- 搜索框 -->
        <div class="search_box">
            <form action="<?php echo @__ROOT__; ?>
?c=index&m=search" method='post'>
                <input type="text" name='searchCon' class='searchInput'/>
                <input type="submit" value="搜索答案" class="sub"/>
            </form>
            <a href="<?php echo @__ROOT__; ?>
?c=ask">我要提问</a>
        </div>
        <!-- 搜索框结束 -->
        <!-- 搜索内容 -->
        <div class="searcont">
            <?php unset($this->_sections['n']);
$this->_sections['n']['loop'] = is_array($_loop=$this->_tpl_vars['searchinfo']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['n']['name'] = 'n';
$this->_sections['n']['show'] = true;
$this->_sections['n']['max'] = $this->_sections['n']['loop'];
$this->_sections['n']['step'] = 1;
$this->_sections['n']['start'] = $this->_sections['n']['step'] > 0 ? 0 : $this->_sections['n']['loop']-1;
if ($this->_sections['n']['show']) {
    $this->_sections['n']['total'] = $this->_sections['n']['loop'];
    if ($this->_sections['n']['total'] == 0)
        $this->_sections['n']['show'] = false;
} else
    $this->_sections['n']['total'] = 0;
if ($this->_sections['n']['show']):

            for ($this->_sections['n']['index'] = $this->_sections['n']['start'], $this->_sections['n']['iteration'] = 1;
                 $this->_sections['n']['iteration'] <= $this->_sections['n']['total'];
                 $this->_sections['n']['index'] += $this->_sections['n']['step'], $this->_sections['n']['iteration']++):
$this->_sections['n']['rownum'] = $this->_sections['n']['iteration'];
$this->_sections['n']['index_prev'] = $this->_sections['n']['index'] - $this->_sections['n']['step'];
$this->_sections['n']['index_next'] = $this->_sections['n']['index'] + $this->_sections['n']['step'];
$this->_sections['n']['first']      = ($this->_sections['n']['iteration'] == 1);
$this->_sections['n']['last']       = ($this->_sections['n']['iteration'] == $this->_sections['n']['total']);
?>
            <ul>
                <li> <a href="<?php echo @__ROOT__; ?>
?c=show&cid=<?php echo $this->_tpl_vars['searchinfo'][$this->_sections['n']['index']]['cid']; ?>
&asid=<?php echo $this->_tpl_vars['searchinfo'][$this->_sections['n']['index']]['asid']; ?>
" class="title"><?php echo $this->_tpl_vars['searchinfo'][$this->_sections['n']['index']]['askcontent']; ?>
</a> </li>
                <?php if ($this->_tpl_vars['searchinfo'][$this->_sections['n']['index']]['anscontent']): ?>
                <li><?php echo $this->_tpl_vars['searchinfo'][$this->_sections['n']['index']]['anscontent']; ?>
</li>
                <?php endif; ?>
                <li class="time"><span>
                        <?php unset($this->_sections['m']);
$this->_sections['m']['loop'] = is_array($_loop=$this->_tpl_vars['searchinfo'][$this->_sections['n']['index']]['cateinfo']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['m']['name'] = 'm';
$this->_sections['m']['show'] = true;
$this->_sections['m']['max'] = $this->_sections['m']['loop'];
$this->_sections['m']['step'] = 1;
$this->_sections['m']['start'] = $this->_sections['m']['step'] > 0 ? 0 : $this->_sections['m']['loop']-1;
if ($this->_sections['m']['show']) {
    $this->_sections['m']['total'] = $this->_sections['m']['loop'];
    if ($this->_sections['m']['total'] == 0)
        $this->_sections['m']['show'] = false;
} else
    $this->_sections['m']['total'] = 0;
if ($this->_sections['m']['show']):

            for ($this->_sections['m']['index'] = $this->_sections['m']['start'], $this->_sections['m']['iteration'] = 1;
                 $this->_sections['m']['iteration'] <= $this->_sections['m']['total'];
                 $this->_sections['m']['index'] += $this->_sections['m']['step'], $this->_sections['m']['iteration']++):
$this->_sections['m']['rownum'] = $this->_sections['m']['iteration'];
$this->_sections['m']['index_prev'] = $this->_sections['m']['index'] - $this->_sections['m']['step'];
$this->_sections['m']['index_next'] = $this->_sections['m']['index'] + $this->_sections['m']['step'];
$this->_sections['m']['first']      = ($this->_sections['m']['iteration'] == 1);
$this->_sections['m']['last']       = ($this->_sections['m']['iteration'] == $this->_sections['m']['total']);
?>
                        <?php if ($this->_sections['m']['last']): ?>
                        <a href='<?php echo @__ROOT__; ?>
?c=list&cid=<?php echo $this->_tpl_vars['searchinfo'][$this->_sections['n']['index']]['cateinfo'][$this->_sections['m']['index']]['cid']; ?>
'><?php echo $this->_tpl_vars['searchinfo'][$this->_sections['n']['index']]['cateinfo'][$this->_sections['m']['index']]['title']; ?>
</a>
                        <?php else: ?>
                        <a href='<?php echo @__ROOT__; ?>
?c=list&cid=<?php echo $this->_tpl_vars['searchinfo'][$this->_sections['n']['index']]['cateinfo'][$this->_sections['m']['index']]['cid']; ?>
'><?php echo $this->_tpl_vars['searchinfo'][$this->_sections['n']['index']]['cateinfo'][$this->_sections['m']['index']]['title']; ?>
 </a>
                        &gt;
                        <?php endif; ?>
                        <?php endfor; endif; ?>
                        <?php echo $this->_tpl_vars['searchinfo'][$this->_sections['n']['index']]['answer']; ?>
个回答</span> - 提问时间: <?php echo ((is_array($_tmp=$this->_tpl_vars['searchinfo'][$this->_sections['n']['index']]['time'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%Y-%m-%d %H:%M') : smarty_modifier_date_format($_tmp, '%Y-%m-%d %H:%M')); ?>
</li>
            </ul>
            <?php endfor; endif; ?>
        </div>
        <!-- 搜索内容结束 -->

        <!-- 底部 -->
        <div id='bottom'>
            <p>Copyright © 2013 Qihoo.Com All Rights Reserved 后盾网</p>
            <p>京公安网备xxxxxxxxxxxx</p>
        </div>
        <!--[if IE 6]>
            <script type="text/javascript" src="<?php echo @__PUBLIC__; ?>
/Js/iepng.js"></script>
            <script type="text/javascript">
                DD_belatedPNG.fix('.logo','background');
                DD_belatedPNG.fix('.nav-sel a','background');
                DD_belatedPNG.fix('.ask-cate i','background');
            </script>
        <![endif]-->
    </body>
</html>
<!-- 底部结束 -->